/**
 * Member class. this was created to hold the name 
 * and address of a member, and to reduce the 
 * primitive obsession and long prameter lists.
 * @author Kristopher Gooding/Kyle Scharnhorst
 * @version 4/25/2014
 */
public class Member {
	/**address of the bank member.*/
	private Address my_address;
	/**name of the bank member.*/
	private String my_name;

	/**
	 * constructor for the member class.
	 * @param the_name
	 * @param the_street
	 * @param the_town
	 * @param the_zipCode
	 * @param the_country
	 */
	Member(final String the_name, final String the_street,
			final String the_town, final String the_zipCode,
			final String the_country) {
		my_name = the_name;
		my_address = new Address(the_street, the_town, the_zipCode, the_country);
	}

	/**
	 * @return my_address
	 */
	public Address getAddress() {
		return my_address;
	}

	/**
	 * @return my_name
	 */
	public String getName() {
		return my_name;
	}

}
